package com.bitcarton.disso.core.annotation;

/**
 * @author wwd
 */
public enum Handler {


    /**
     * 拦截请求
     */
    INTERCEPT("0", "拦截请求"),
    /**
     * 直接放行请求
     */
    PASS("1", "直接放行请求");

    Handler(String key, String value) {
        this.key = key;
        this.value = value;
    }

    private final String key;

    private final String value;

    public String getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }
}
